//
//  MRCurrencySelectCell.h
//  MoRan
//
//  Created by MoRan on 2022.
//  Copyright © 2022年 MoRan. All rights reserved.
//

#import "BaseTableViewCell.h"

@class MRCurrencySelectCell;
@class MRCurrencySelectCellModel;

@protocol MRCurrencySelectCellDelegate <NSObject>

- (void)currencySelectCell:(MRCurrencySelectCell *)cell button:(UIButton *)sender;

@end

@interface MRCurrencySelectCell : BaseTableViewCell

@property (nonatomic,weak) id<MRCurrencySelectCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIView *myView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewBottom;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *lineLabel;
@property (strong, nonatomic) MRCurrencySelectCellModel *model;

@end



#pragma mark - Model

@interface MRCurrencySelectCellModel : NSObject

@property (nonatomic,copy) NSString *title;

+ (MRCurrencySelectCellModel *)ittemModelWithTitle:(NSString *)title;

@end



